<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8" isELIgnored="false" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<%@ taglib prefix="shiro" uri="http://shiro.apache.org/tags" %>
<%
	String port = request.getServerPort() == 80 ? "" : ":".concat(request.getServerPort()+"");
	String path = request.getScheme().concat("://").concat(request.getServerName()).concat(port).concat(request.getContextPath());
	request.setAttribute("path", path);
%>
<!DOCTYPE html>
<html>
<head>
<title><shiro:principal /> - 用户中心  - IT答案网</title>
<meta name="keywords" content="用户中心" />
<meta name="description" content="用户中心" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link href="${path }/css/all.css" rel="stylesheet">
<link href="${path }/css/prettify.css" rel="stylesheet">
<script src="${path }/js/all.js"></script>
</head>
<body>
    <jsp:include page="head.jsp"></jsp:include>
	<div class="container container1000">
		<div class="row-fluid" style="margin-bottom:20px;">
		    <div class="alert alert-success">
		   		<strong>用专业的技术，认真的态度，做有益的事情！</strong>
		   		<em class="pull-right"></em>
		    </div>
		    <div>
		       <img src='<shiro:principal property="avatar"/>' class="img-circle"> 您好！<shiro:principal />，欢迎回来。您是本站的
		       <b><shiro:hasRole name="admin">管理员</shiro:hasRole><shiro:hasRole name="user">普通会员</shiro:hasRole><shiro:hasRole name="publisher">编辑</shiro:hasRole></b>，
		                        请查看权限列表查看您的权限。
		    </div>
		</div>
		
	</div>
  <div class="clear">&nbsp;</div>
  <jsp:include page="bottom.jsp"></jsp:include>  